package com.iap.admin.context
{
	import com.iap.admin.command.TagCommand;
	import com.iap.admin.mediator.TagMediator;
	import com.iap.admin.service.ITagService;
	import com.iap.admin.service.TagService;
	import com.iap.common.signal.TagRequestSignal;
	import com.iap.admin.view.TagView;
	import com.iap.app.data.AppData;
	import com.iap.app.data.IAppData;
	
	import flash.display.DisplayObjectContainer;
	
	import org.robotlegs.mvcs.SignalContext;
	
	public class TagContext extends SignalContext
	{
		override public function startup():void
		{
			injector.mapSingletonOf(ITagService, TagService);
			injector.mapSingletonOf(IAppData, AppData);
			
			signalCommandMap.mapSignalClass(TagRequestSignal, TagCommand);
			
			mediatorMap.mapView(TagView, TagMediator);
		}
	}
}